package lime.net.curl;

#if (!lime_doc_gen || lime_curl)
#if (haxe_ver >= 4.0) enum #else @:enum #end abstract CURLCode(Int) from Int to Int from UInt to UInt
{
	var OK = 0;
	var UNSUPPORTED_PROTOCOL = 1;
	var FAILED_INIT = 2;
	var URL_MALFORMAT = 3;
	var NOT_BUILT_IN = 4;
	var COULDNT_RESOLVE_PROXY = 5;
	var COULDNT_RESOLVE_HOST = 6;
	var COULDNT_CONNECT = 7;
	var WEIRD_SERVER_REPLY = 8;
	var REMOTE_ACCESS_DENIED = 9;
	var FTP_ACCEPT_FAILED = 10;
	var FTP_WEIRD_PASS_REPLY = 11;
	var FTP_ACCEPT_TIMEOUT = 12;
	var FTP_WEIRD_PASV_REPLY = 13;
	var FTP_WEIRD_227_FORMAT = 14;
	var FTP_CANT_GET_HOST = 15;
	var HTTP2 = 16;
	var FTP_COULDNT_SET_TYPE = 17;
	var PARTIAL_FILE = 18;
	var FTP_COULDNT_RETR_FILE = 19;
	// var OBSOLETE20 = 20;
	var QUOTE_ERROR = 21;
	var HTTP_RETURNED_ERROR = 22;
	var WRITE_ERROR = 23;
	// var OBSOLETE24 = 24;
	var UPLOAD_FAILED = 25;
	var READ_ERROR = 26;
	var OUT_OF_MEMORY = 27;
	var OPERATION_TIMEDOUT = 28;
	// var OBSOLETE29 = 29;
	var FTP_PORT_FAILED = 30;
	var FTP_COULDNT_USE_REST = 31;
	// var OBSOLETE32 = 32;
	var RANGE_ERROR = 33;
	var HTTP_POST_ERROR = 34;
	var SSL_CONNECT_ERROR = 35;
	var BAD_DOWNLOAD_RESUME = 36;
	var FILE_COULDNT_READ_FILE = 37;
	var LDAP_CANNOT_BIND = 38;
	var LDAP_SEARCH_FAILED = 39;
	// var OBSOLETE40 = 40;
	// var FUNCTION_NOT_FOUND = 41;
	var ABORTED_BY_CALLBACK = 42;
	var BAD_FUNCTION_ARGUMENT = 43;
	// var OBSOLETE44 = 44;
	var INTERFACE_FAILED = 45;
	// var OBSOLETE46 = 46;
	var TOO_MANY_REDIRECTS = 47;
	var UNKNOWN_OPTION = 48;
	var TELNET_OPTION_SYNTAX = 49;
	// var OBSOLETE50 = 50;
	var PEER_FAILED_VERIFICATION = 51;
	var GOT_NOTHING = 52;
	var SSL_ENGINE_NOTFOUND = 53;
	var SSL_ENGINE_SETFAILED = 54;
	var SEND_ERROR = 55;
	var RECV_ERROR = 56;
	// var OBSOLETE57 = 57;
	var SSL_CERTPROBLEM = 58;
	var SSL_CIPHER = 59;
	var SSL_CACERT = 60;
	var BAD_CONTENT_ENCODING = 61;
	var LDAP_INVALID_URL = 62;
	var FILESIZE_EXCEEDED = 63;
	var USE_SSL_FAILED = 64;
	var SEND_FAIL_REWIND = 65;
	var SSL_ENGINE_INITFAILED = 66;
	var LOGIN_DENIED = 67;
	var TFTP_NOTFOUND = 68;
	var TFTP_PERM = 69;
	var REMOTE_DISK_FULL = 70;
	var TFTP_ILLEGAL = 71;
	var TFTP_UNKNOWNID = 72;
	var REMOTE_FILE_EXISTS = 73;
	var TFTP_NOSUCHUSER = 74;
	var CONV_FAILED = 75;
	var CONV_REQD = 76;
	var SSL_CACERT_BADFILE = 77;
	var REMOTE_FILE_NOT_FOUND = 78;
	var SSH = 79;
	var SSL_SHUTDOWN_FAILED = 80;
	var AGAIN = 81;
	var SSL_CRL_BADFILE = 82;
	var SSL_ISSUER_ERROR = 83;
	var FTP_PRET_FAILED = 84;
	var RTSP_CSEQ_ERROR = 85;
	var RTSP_SESSION_ERROR = 86;
	var FTP_BAD_FILE_LIST = 87;
	var CHUNK_FAILED = 88;
	var NO_CONNECTION_AVAILABLE = 89;
	var SSL_PINNEDPUBKEYNOTMATCH = 90;
	var SSL_INVALIDCERTSTATUS = 91;
	var HTTP2_STREAM = 92;
	// var LAST = 93;
}
#end
